package org.ricks.game.action;

import org.ricks.ioc.anno.Bean;
import org.ricks.ioc.scheduler.Scheduled;
import org.ricks.ioc.utils.Logger;

@Bean
public class SchedulerAction {

    @Scheduled(initialDelay = 1000, fixedRate = 2000)
    public void test () {
        Logger.info("延迟调度正在执行。。。。。。。。。");
//        Logger.info("延迟调度正在执行。。。。。。。。。" + schedulerAddMethod());
    }


//    private String schedulerAddMethod () {
//        return "测试延迟调度 -- 增加方法";
//    }
}
